package com.by.mapper.purchase;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.by.entity.purchase.EnquiryDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EnquiryDetailMapper extends BaseMapper<EnquiryDetail> {

    /**
     * 批量保存明细
     *
     * @param id      询价单id
     * @param details 询价明细
     * @return
     */
    int batchSave(@Param("id") String id, @Param("details") List details);
}
